home *** CD-ROM | disk | FTP | other *** search
/ MACD 5 / MACD 5.bin / workbench / tools / czesc_1 / cpdist / dmakefile < prev    next >
Makefile  |  1994-01-12  |  1KB  |  59 lines

  1. # CPDIST DMakefile for Dillon's DICE C Compiler om the Commodore AMIGA
  2. #
  3. # (c)Copyright 1992-93 by Tobias Ferber.
  4. #
  5. # This file is part of CPDIST.
  6. #
  7. # CPDIST is free software; you can redistribute it and/or modify
  8. # it under the terms of the GNU General Public License as published
  9. # by the Free Software Foundation; either version 1 of the License, or
  10. # (at your option) any later version.
  11. #
  12. # CPDIST is distributed in the hope that it will be useful,
  13. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  14. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  15. # GNU General Public License for more details.
  16. #
  17. # You should have received a copy of the GNU General Public License
  18. # along with CPDIST; see the file COPYING.  If not, write to
  19. # the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
  20.  
  21. CC=dcc
  22.  
  23. # -DNO_GETKEY   use gets() instead of getkey()
  24. # -DNO_PERROR   don't use perror()
  25.  
  26. CFLAGS= -1.3 -s
  27.  
  28. OBJS= main.o args.o msg.o cpdist.o keys.o getkey.o filecopy.o
  29.  
  30. all: cpdist
  31.  
  32. cpdist: $(OBJS)
  33.     $(CC) $(CFLAGS) -o%(left) %(right)
  34.  
  35. main.o: main.c
  36.     $(CC) $(CFLAGS) -c -o%(left) %(right)
  37.  
  38. args.o: args.c
  39.     $(CC) $(CFLAGS) -c -o%(left) %(right)
  40.  
  41. msg.o: msg.c
  42.     $(CC) $(CFLAGS) -c -o%(left) %(right)
  43.  
  44. keys.o: keys.c
  45.     $(CC) $(CFLAGS) -c -o%(left) %(right)
  46.  
  47. cpdist.o: cpdist.c
  48.     $(CC) $(CFLAGS) -c -o%(left) %(right)
  49.  
  50. getkey.o: getkey.c
  51.     $(CC) $(CFLAGS) -c -o%(left) %(right)
  52.  
  53. filecopy.o: filecopy.c
  54.     $(CC) $(CFLAGS) -c -o%(left) %(right)
  55.  
  56.  
  57. clean:
  58.     delete #?.o cpdist
  59.